subject: REFORMATTING overview: Reformatting is the process of adjusting the text in paragraphs to eliminate "holes" which may have been introduced through editing or changing Tabs, and of justifying the margins of the text. You can also reformat an area which is "block" highlighted in which case you can adjust the left and right margins "on the fly". Justification can be: (1) LEFT - even left margin with ragged right (2) RIGHT - even right margin with ragged left (3) BLOCK - even left and right margins (4) CENTER - centering each line of text within the margins. Reformatting can be accomplished by: (1) pressing Ctrl R which will left justify the paragraph in which the cursor is located or reformat the highlighted text in which the cursor is located. (2) accepting the "Reformat now to new settings?" option provided after Tabs redefinition. (3) selecting the "(R)eformat" option in the Highlight Options menu. (4) placing reformatting directives in a file being "mail-merged". (5) Selecting the "(R)eformat" option in the Main Menu. In this discussion, we assume you begin the reformat operation via (5). Selecting this option causes the menu below to be displayed: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³REFORMAT options:³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ ³ (A)ll ³ ³ (T)o end ³ ³ (P)aragraph ³ ³ (H)ighlight ³ ³ e(X)it ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ In general, reformatting is accomplished in a paragraph by paragraph manner and considers any changes in Tabs and margins which may be encountered. 218 subject: REFORMATTING OPTIONS (A)ll: This option will reformat the entire file. (T)o end: This option will reformat the file beginning with the paragraph in which the cursor is located and proceeding to the end of the file. With both of the above options, the "No reformat" Special Lines are respected. If you have Tab lines imbedded in your text, the reformatting process will take into account the changes in the Tab and margin definitions. (P)aragraph: This option will only reformat the paragraph in which the cursor is located when the option is selected. (H)ighlight: This option only reformats the highlighted text area within the file you are editing. (Reformatting with sentence highlighting is not permitted.) If no area is highlighted in the current file the message ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º º º Must mark area first. º ºPress a key to continue ...º º º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ is displayed. When the highlighted area is marked with block highlighting, and the type of justification is selected (described below), a single line field is displayed on your screen with an 'L' and an 'R' located at the left and right edges of the block highlighting. The Message Line reads: Adjust new margins - Enter when done (Esc to exit) This process permits you to redefine the area in which the block highlighted text should be reformatted. (You can also include an indent 'I' character in the margin definition.) This is quite handy if you are reformatting text within a box or table or if you want to "squash" a section of text without having to imbed new Tab lines in your text file. In the example below, the highlighted area is shown as a box at the left and the new margin definitions are shown as L and R. The result is at the right. L R ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³Squash this text to the ³ Squash this text ³temporary margin setting³ to the temporary ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ margin setting 219 subject: REFORMATTING - JUSTIFICATION discussion: Once the range of reformatting has been defined, the type of justification to be performed on that range must be determined. To do so, the following menu is displayed: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³REFORMAT types: ³ ÆÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ͵ ³ (C)enter text ³ ³ (L)eft justify text³ ³ (R)ight justify text³ ³ (B)lock justify text³ ³ e(X)it ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ (C)enter: Center justification will proceed from line to line within the specified range and adjust each line so it is equidistant from each margin. The line is centered as it stands, i.e., no spaces are deleted or inserted. Tab characters are replaced by spaces, however. (L)eft: Left justification determines the bounds of the paragraph to be justified and then reformats the paragraph. To reformat the paragraph, left justification eliminates "holes" and moves words from line to line filling each line with as many words as will fit within the margins. If Tab characters exist on the line, the text is shifted to the next Tab stop. At the end of each sentence, one or two spaces will be inserted after the punctuation based upon the setting of the "SNT_SPACE" toggle setting in the "(S)witches" option of the Configuration Menu. (R)ight: Right justification first performs the left justification described above. Then, each line of the paragraph is "shoved" to the right until the end of its right-most word is at the right margin. Tab characters are replaced by spaces. (B)lock: Block justification first performs the left justification described above. Then, Tabs are removed and each line is filled with spaces until the first character of the first word on the line is at the left margin and the last character of the last word on the line is at the right margin. These extra spaces are inserted in as pleasing a manner as possible. If the last line of a paragraph is significantly short of the right margin, it will not be blocked. 220 subject: REFORMATTING EXAMPLES discussion: The following paragraph, with the left and right margins shown, is reformatted by each form of justification. The results are as labeled. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³L R³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³This is a sample paragraph ³ ³ which will be reformatted with ³ ³each of the four different ³ ³ types of justification. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ center: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ This is a sample paragraph ³ ³ which will be reformatted with ³ ³ each of the four different ³ ³ types of justification. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ left: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³This is a sample paragraph which will be ³ ³reformatted with each of the four ³ ³different types of justification. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ right: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ This is a sample paragraph which will be³ ³ reformatted with each of the four³ ³ different types of justification.³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ block: ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³This is a sample paragraph which will be³ ³reformatted with each of the four³ ³different types of justification. ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 221